package io.renren.dao.repair;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.renren.common.dao.BaseDao;

import io.renren.entity.repair.RepairInfoEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 报修信息表
 *
 * @author dio 167762802@QQ.com
 * @since 1.0.0 2025-04-12
 */
@Mapper
public interface RepairInfoDao extends BaseDao<RepairInfoEntity> {

   default List<RepairInfoEntity> selectListByStatus(Integer status) {
        return selectList(new LambdaQueryWrapper<RepairInfoEntity>()
                .eq(RepairInfoEntity::getStatus, status));
    }
}